Previous Book Contents Book Index Next

Inside Macintosh: Mac OS 8 Toolbox Reference /
Chapter 2 - Control Manager Reference / Control Manager Types and Constants


Checkbox Value Constants

CHANGED WITH THE APPEARANCE MANAGER

These constants specify the value of a standard checkbox control and are passed in the newValue parameter of SetControlValue and are returned by GetControlValue.

enum {
   kControlCheckboxUncheckedValue = 0,
   kControlCheckboxCheckedValue   = 1,
   kControlCheckboxMixedValue     = 2 
};

Constant descriptions

kControlCheckboxUncheckedValue
The checkbox is unchecked.
kControlCheckboxCheckedValue
The checkbox is checked.
kControlCheckboxMixedValue
Mixed value. Indicates that a setting is on for some elements in a selection and off for others. This state only applies to standard Appearance-compliant checkboxes.
WHEN THE APPEARANCE MANAGER IS NOT AVAILABLE
Pre-Appearance checkboxes do not support the mixed state value constant kControlCheckboxMixedValue.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
8 JAN 1998